package com.wangjiyuan.shiwupai.config;

/**
 * Created by wjy on 2016/11/25.
 */

public class UrlConfig {
    public static final String BASE_URL = "http://food.boohee.com/";

    public static class FirstFood {
        //        食物百科PATH
        //   http://food.boohee.com/fb/v1/categories/list?app_device=Android&app_version=2.6&channel=oppo&user_key=&token=&phone_model=HTC+Z710t&os_version=4.4.2
        //        营养素排序
        //   http://food.boohee.com/fb/v1/foods/sort_types?app_device=Android&app_version=2.6&channel=oppo&user_key=&token=&phone_model=HTC+Z710t&os_version=4.4.2
        public static final String FOOD_PATH = "fb/v1/{categories}/{list}";
        //        食物百科分类详情列表
        //  http://food.boohee.com/fb/v1/foods?kind=group&value=1&order_by=1&page=1&order_asc=0&app_device=Android&app_version=2.6&channel=oppo&user_key=&token=&phone_model=HTC+Z710t&os_version=4.4.2
        public static final String FOOD_CLASS_PATH = "fb/v1/foods";

    }
    //    http://food.boohee.com/fb/v1/feed_categories?token=&user_key=&app_version=2.6&
    // app_device=Android&os_version=5.1.1&phone_model=Mi-2s&channel=oppo

    //    http://food.boohee.com/fb/v1/feeds/category_feed?page=1&category=4&per=10&token=&user_key=&
    // app_version=2.6&app_device=Android&os_version=5.1.1&phone_model=Mi-4c&channel=oppo
    public static final String CATEGORIES_PATH = "fb/v1/feed_categories";
    public static final String FEEDS_PATH = "fb/v1/feeds/category_feed";
    public static final String PHOTO_PATH = "fb/v1/food_cards/{id}";



    public static final String PAGE = "page";
    public static final String CATEGORY = "category";
    public static final String PER = "per";
    public static final String TOKEN = "token";
    public static final String USER_KEY = "user_key";
    public static final String APP_VERSION = "app_version";
    public static final String APP_DEVICE = "app_device";
    public static final String OS_DEVICE = "os_version";
    public static final String PHONE_MODEL = "phone_model";
    public static final String CHANNEL = "channel";


}
